package com.gupaoedu.demo.serialize;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Nicky
 * @since 2019-07-20
 */
public class User implements Serializable {



    String name;

    int age;

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
